﻿using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

namespace TBM.Core.Helper
{
    public class GlobalApplication : HttpApplication
    {
        protected void Application_Start()
        {
            TBM.Core.Routing.RegRoutes routes = new TBM.Core.Routing.RegRoutes();
            AreaRegistration.RegisterAllAreas();
            routes.RegisterRoutes(RouteTable.Routes);
            GlobalFilters.Filters.Add(new Filters.ActionFilters());
        }

        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
        }
    }
}
